package com.eee.machine.common;

import org.springframework.stereotype.Component;

import java.util.Date;

@Component
public class TokenBean {

    private String accessToken;
    private String refreshToken;
    private Date expireTime;

    public TokenBean() {
    }

    public TokenBean(String accessToken, String refreshToken, Date expireTime) {
        this.accessToken = accessToken;
        this.refreshToken = refreshToken;
        this.expireTime = expireTime;
    }

    public String getAccessToken() {
        return accessToken;
    }

    public void setAccessToken(String accessToken) {
        this.accessToken = accessToken;
    }

    public String getRefreshToken() {
        return refreshToken;
    }

    public void setRefreshToken(String refreshToken) {
        this.refreshToken = refreshToken;
    }

    public Date getExpireTime() {
        return expireTime;
    }

    public void setExpireTime(Date expireTime) {
        this.expireTime = expireTime;
    }
}
